package com.atgugui.edumsm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 邮件注册激活模块
 */
@SpringBootApplication
@EnableCaching // 开启缓存
@EnableSwagger2 // 开启Swagger
@EnableDiscoveryClient // nacos注册中心
@EnableFeignClients
@ComponentScan(basePackages = {"com.atgugui"})
public class MsmApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsmApplication.class,args);
    }
}
